@rem ANTLR = ..\..\antlrworks-1.4.3.jar
set ANTLR=antlrworks-1.5rc2.jar
@rem ANTLR = ..\..\antlr-4.0-rc-1-complete.jar

java -cp %ANTLR%;. org.antlr.Tool C.g
java -cp %ANTLR%;. org.antlr.Tool CSyntaxTree.g
javac -cp %ANTLR%;. CParser.java CLexer.java Test.java CSyntaxTree.java 
java -cp %ANTLR%;. Test < main.c
pause